<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" charset="utf-8">
    <title> 登陆 </title>
</head>
<body>
<div class="demo form-bg">
    <div class="container">

        <div class="row">
            <div class="col-md-offset-4 col-md-4 col-sm-offset-3 col-sm-6">
                <form class="form-horizontal" action="{% url 'login' %}" method="post">
                    <div class="heading">登陆</div>
                    <div class="form-group">
                        <i class="fa fa-user"></i><input required name="username" type="text"
                                                         class="form-control" placeholder="Username"
                                                         id="exampleInputEmail1">
                    </div>
                    <div class="form-group">
                        <i class="fa fa-lock"></i><input required name="password" type="password"
                                                         class="form-control" placeholder="Password"/>
                    </div>
                    <div class="form-group">
                        <div class="form_btn">
                            <button type="submit">登录</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>